package com.carmanagement


class Action {

	static belongsTo = [vehicle:Vehicle]
	Date date
	Float mileage
	Float cost

	static constraints = {
		mileage nullable:true
		cost nullable:true
		mileage nullable:true
	}

	static mapping = {
		sort "date"
	}
}
